@media only screen and (max-width: 1018px) {
  .header_content .flags {
    flex-wrap: wrap;
    max-width: 400px;
    margin-bottom: 100px;
  }
  .header_box {
    margin-top: 50px;
  }
  .header_box {
    margin-top: 65px;
  }
  .header_input img {
    padding: 0 !important;
  }
}
@media only screen and (max-width: 1000px) {
  .chart_box_text1{
    left: -90px;
    font-size: 14px !important;
  }
  .chart_box_text2{
    font-size: 10px !important;
  }
  .chart_box_text3{
    font-size: 10px !important;
  }
  .chart_box_text4{
    font-size: 10px !important;
  }
  .chart_box_text5{
    font-size: 10px !important;
    left: 82%;
  }
  .chart_box_text6{
    font-size: 10px !important;
  }
  header .header_content a {
    display: none;
  }
  header .header_content {
    background-position: 100% bottom;
  }
}

@media only screen and (max-width: 950px) {
  header ul li{
    padding: 6px;
  }
  header ul li a{
    font-size: 16px;
  }
}

@media only screen and (max-width: 768px) {
  .sidebar, header .header_box img:nth-child(3), .header_box img:nth-child(4), header ul {
    display: none;
  }
  .content {
    width: 100%;
  }
  header .header_content {
    background-position: center bottom;
    flex-direction: column;
  }
  .header_content div:first-of-type {
    min-height: 200px;
    height: 200px !important;
  }
  .header_content .flags {
    max-width: 600px;
    margin-bottom: 35px !important;
    align-self: flex-start !important;
  }
  .content h2 {
    font-size: 24px;
  }
  .content h3 {
    font-size: 18px;
  }
  .content p {
    font-size: 16px;
  }
  .content h4 {
    font-size: 22px;
  }
  .content h5 {
    font-size: 20px;
  }
  .comments h2 {
    font-size: 24px;
  }
  .comments article:nth-child(1n+8), .comments article img {
    display: none;
  }
  .container{
    padding: 0 10px;
  }
}

@media only screen and (max-width: 645px) {
  .chart_box_text2{
    bottom: -10px;
    left: 19%;
  }
  .chart_box_text3{
    bottom: -10px;
    left: 38%;
  }
  .chart_box_text4{
    bottom: -10px;
  }
  .chart_box_text5{
    bottom: -10px;
  }
  .chart_box_text6{
    bottom: -25px;
  }
  .header_content div:first-of-type {
    min-height: 300px;
    height: 300px !important;
  }
  header .header_content div {
    justify-content: center;
  }
  .header_content div:first-of-type {
    min-height: unset;
    height: unset !important;
  }
  .header_content{
    position: relative;
  }
  header .header_content .flags .flag-icon{
    width: 56px;
  }
  header .header_content .flags img{
    height: 58px;
  }
}
@media only screen and (min-width: 480px) and (max-width: 768px){
  .chart_box_text1{
    left: -75px;
  }
}

@media only screen and (max-width: 480px) {
  .chart_box_text1{
    left: -80px;
  }
  .header_box img:nth-child(2) {
    display: none;
  }
  header .header_content h1 {
    font-size: 32px;
  }
  header .header_content h1 span {
    font-size: 18px;
  }
  .chart article p {
    font-size: 10px;
  }
  .content .cta {
    font-size: 20px;
  }
}
